
import { createApp } from 'vue'
import App from './App.vue'
import {router} from '@/router/index'
import {createPinia} from 'pinia'
import piniaPlugin from 'pinia-plugin-persistedstate'
import { imgLazy } from './directives/imgLazy'
import '@/style/common.scss'

const app = createApp(App)
app.use(imgLazy)
app.use(router)
app.use(createPinia().use(piniaPlugin))
app.mount('#app')
